package com.ambow.Entity;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;

@Entity
@Table
public class Supplier extends ID implements Serializable{
  private String name;
  private String address;
  private String tel;
  private String contactMan;
  private String email;
  private String remark;
  @OneToMany(targetEntity=StockReceive.class,mappedBy="supplier")
  private List<StockReceive> stockReceive;
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getAddress() {
	return address;
}
public void setAddress(String address) {
	this.address = address;
}
public String getTel() {
	return tel;
}
public void setTel(String tel) {
	this.tel = tel;
}
public String getContactMan() {
	return contactMan;
}
public void setContactMan(String contactMan) {
	this.contactMan = contactMan;
}
public String getEmail() {
	return email;
}
public void setEmail(String email) {
	this.email = email;
}
public String getRemark() {
	return remark;
}
public void setRemark(String remark) {
	this.remark = remark;
}
public List<StockReceive> getStockReceive() {
	return stockReceive;
}
public void setStockReceive(List<StockReceive> stockReceive) {
	this.stockReceive = stockReceive;
}
  
}
